package com.elisoft.emlap.goods.consumer.api;

import com.elisoft.emlap.common.Result;
import com.elisoft.emlap.goods.consumer.fallback.AppGoodsFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "emlap-app-goods",fallback = AppGoodsFallBack.class)
public interface AppGoodsAPIService {

    @RequestMapping(value = "/agent/appGoods/list",method = RequestMethod.GET)
    Result list();
}
